const {selectOne} = require('../util/db-util')

async function getPassword(name, values) {
    let arr = await selectOne('user', name, values)
    return arr[0].password
}

module.exports = getPassword